package com.zhiyume.vo;

import com.zhiyume.page.Page;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by wang on 17/10/25.
 */
public class PersonReqVO extends Page{
    private Long id;
    private int page;
    private int pageSize;


    private String name;
    private int gender=-1;
    private int height=-1;

    private String contact;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date birthBegin;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date birthEnd;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public Date getBirthBegin() {
        return birthBegin;
    }

    public void setBirthBegin(Date birthBegin) {
        this.birthBegin = birthBegin;
    }

    public Date getBirthEnd() {
        return birthEnd;
    }

    public void setBirthEnd(Date birthEnd) {
        this.birthEnd = birthEnd;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
